#!/bin/bash

APP_PATH=/home/testapp/apk_index
#配置文件路径
CONF_PATH=${APP_PATH}/conf

#30201为监听端口
index(){
  java -Xmx1024m -Xms1024m -server -DapkIndexHome=${APP_PATH} -jar Index.jar ${CONF_PATH}/logback.xml ${CONF_PATH}/config.xml 30201
}

echo " start index..."
index
exit 0
